DR-0001 Use mdbook
as first backend to generate documentation
Manuel Woelker 2025-06-22T14:21:06+00:00
Status: Approved
Date: 2025-06-08
Decision
To generate HTML documentation, we will use mdbook as the first backend.
Context
The goal of hyperlit is to create documentation artifacts that are straightforward to read and understand.
The requirements for the initial backend were:
- Easy to integrate
- Support for Markdown
- HTML output
- Good search capabilities
Consequences
mdbook is the "default" backend for hyperlit.
This backend should be maintained and supported in the future.
Considered Alternatives
Custom backend
A custom backend could be implemented, but it would be more complex to create, maintain and update.
Such a backend may make sense in the future to better support more complex use cases.
typst backend
typst might also work as a backend.
However, it is currently not well established. Its HTML export functionality is still a work in progress.